﻿<%@ Page Title="" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeBehind="gather_default.aspx.cs" Inherits="Icst.Leaflike.Web.gather._default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" runat="server">
    <div style="margin-top:10px">
        <%if (IsLogon){ %>
        <table cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top" style="width:150px">
                    <div class="sw_menu"">
                        <h2>分类浏览</h2>
                        <ul>
                            <li />
                            <li><a href='<%="gather_default.htm?sort=1"+"&uid="+this.uid %>'><strong>按时间浏览</strong></a></li>
                            <li><a href='<%="gather_default.htm?sort=2"+"&uid="+this.uid %>'><strong>按地点浏览</strong></a></li>
                            <li><a href='<%="gather_default.htm?sort=3"+"&uid="+this.uid %>'><strong>新入库</strong></a></li>
                            <li />
                            <li><img src="image/gathering.jpg" style="width:16px; height:16px;"/><a href='<%="gather_add.htm?"+"uid="+this.uid %>'><strong>采集入库</strong></a></li>
                            <%--<li><img src="image/pdf-icon.gif" style="width:16px; height:16px;"/><a href='<%="gather_pdf.htm?"+"uid="+this.uid %>'><strong>导出PDF</strong></a></li>--%>
                            <%--<li><img src="image/email.png"  style="width:16px; height:16px"/><a href='<%="gather_mail.htm?"+"uid="+this.uid %>'><strong>邮件</strong></a></li>--%>
                        </ul>
                     </div>
                        <!-- JiaThis Button BEGIN -->
                        <div id="ckepop" class="sw_menu">
                            <h2>分享</h2>
                            <ul>
	                            <li><a class="jiathis_button_qzone">QQ空间</a></li>
	                            <li />
	                            <li><a class="jiathis_button_tsina">新浪微博</a></li>
	                            <li />
	                            <li><a class="jiathis_button_renren">人人网</a></li>
	                            <li />
	                            <li><a class="jiathis_button_kaixin001">开心网</a></li>
	                            <li />
	                            <li><a href="http://www.jiathis.com/share/" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank">更多</a></li>
	                        </ul>
                        </div>
                        <script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>
                        <!-- JiaThis Button END -->
                </td>
                <td valign="top">
                    <%
                        if (_gatherings != null)
                        {
                            foreach (Icst.Leaflike.Data.tree_gather g in _gatherings)
                            {
                     %>
                    <table cellspacing="0" cellpadding="2">
                        <tr>
                            <td class="thumbnail">
                                <a href="<%=g.image_link %>" mon="a=5&pn=3" target="_blank"><img width="50" height="50" src="<%=g.image_link%>" border="1" /></a>
                            </td>
                            <td class="text">
                                <a href='<%="gather_add.htm?gid="+g.gather_id+"&uid="+g.uid %>' mon="a=5&pn=3"><span><b><%=g.title%></b></span></a>
                                <font color="#6f6f6f">
                                    <nobr><%=g.created.ToString("yyyy-MM-dd hh:mm")%></nobr>&nbsp;<nobr><%=g.site%></nobr>
                                </font>
                                <br/>
                                <font size="-1"><%=g.description%></font>
                            </td>
                        </tr>
                    </table>
                    <%}
                        }
                        else
                        { %>
                            <h3>当前没有任何收集</h3><img src="image/gathering.jpg" style="width:16px; height:16px;"/><a href='<%="gather_add.htm?"+"uid="+this.uid %>'><strong>采集入库</strong></a>
                            <%} %>
                    <asp:Paginator runat="server"  ID="paginator" ShowGotoBox="false"  ShowFirstPage="false" ShowLastPage="false" ShowPageIndexList="false"
                     PageSize="10" PagerTagName="span" PagerCssClass="num_btn" NumericButtonCount="10" CustomizeTextAlign="Left" CssClass="pager" PageListCssClass="page_list" />
               </td>
            </tr>
        </table>
        <%}%>
        <%else{ %>
        <p>
            <span>请先</span>&nbsp;<a href="login.htm?returnUrl=gather_default.htm">登  录</a>
        </p>
        <p>还不是北京行道树认知网用户？&nbsp;<a href="register.htm?returnUrl=gather_default.htm">免费注册</a></p>
       <div id="wodecaiji">
            <h3>我的采集</h3>
            <p />
            <div>
                <p>该功能是为专业用户或植物爱好者提供的，希望成为他们收集、整理、分享自己采集到的标本和知识的平台。利用本站提供的上传资料的功能，专业用户可以上传自己采集到的各种相关信息，并可随时调出和浏览，而且还可以很方便地发送到自己的微博和邮箱中，甚至导出成可印刷的PDF文件。</p>
            </div>
        </div>
        <%} %>
   </div>
</asp:Content>
